<template>
     <van-swipe class="my-swipe" :autoplay="6000" indicator-color="#aaa">
  <van-swipe-item  v-for="(item, index) in newestList" :key="index">
   <img v-lazy="item.cover+'?param=200y150'"/>
  </van-swipe-item>
</van-swipe>
</template>

<script>
export default {
    props:{
        newestList:{
            type: Array
        }
    },
    data() {
        return {

        }
    },
    mounted(){
    }
}
</script>

<style scoped>
.my-swipe {
  width:100% ;
  height: 150px;
}
.my-swipe .van-swipe-item {
    color: #fff;
    font-size: 20px;
    line-height: 150px;
    text-align: center;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
  }
  .my-swipe .van-swipe-item>img {
      width: 200px;
  }
</style>